﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public interface Camera3DLevel
{
    public bool NextPassageway();

    public Rect GetPlayerViewRect();
    public Rect GetPlayerProstrateViewRect();
    public Rect GetEnemyViewRect();

    public Vector2 TransformPlayerViewToEnemyView(Vector2 position){
        return Utility.Transform3DPosition(position,GetPlayerViewRect(),GetEnemyViewRect());
    }
    public Vector2 TransformPlayerProstrateViewToEnemyView(Vector2 position){
        return Utility.Transform3DPosition(position,GetPlayerProstrateViewRect(),GetEnemyViewRect());
    }
    public Vector2 TransformEnemyViewToPlayerView(Vector2 position){
        return Utility.Transform3DPosition(position,GetEnemyViewRect(),GetPlayerViewRect());
    }
}
